body {
    background: #f5f5f5;
}


/* 主体容器 */

.jd_layout {
    width: 100%;
    /* 和设计稿有关系   主流大小的设计稿   640px(iphone4)   750px(iphone6) */
    max-width: 640px;
    /* 保证页面内容不错乱 */
    min-width: 320px;
    margin: 0 auto;
}


/* 顶部搜索 */

.jd_search {
    width: 100%;
    /* fixed 基于浏览器 */
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
}

.jd_search .jd_search_box {
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    height: 40px;
    background: rgba(201, 21, 35, 0);
    position: relative;
}

.jd_search .jd_search_box .icon_logo {
    position: absolute;
    left: 10px;
    top: 4px;
    height: 36px;
    width: 60px;
    /* 二倍图的使用  失真问题 */
    background-position: 0px -103px;
}

.jd_search .jd_search_box .login {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 50px;
    line-height: 40px;
    text-align: center;
    color: #fff;
}

.jd_search .jd_search_box form {
    width: 100%;
    padding-left: 75px;
    padding-right: 50px;
    position: relative;
}

.jd_search .jd_search_box form .icon_search {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    left: 80px;
    background-position: -60px -109px;
}

.jd_search .jd_search_box form input {
    /* 基于父容器的内容宽度来决定的 */
    width: 100%;
    height: 30px;
    border-radius: 15px;
    margin-top: 5px;
    padding-left: 30px;
}


/* 轮播图区域 */

.jd_banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.jd_banner ul:first-child {
    width: 1000%;
    transform: translateX(-10%);
    -webkit-transform: translateX(-10%);
}

.jd_banner ul:first-child li {
    width: 10%;
    float: left;
}

.jd_banner ul:first-child li a {
    width: 100%;
    display: block;
}

.jd_banner ul:first-child li a img {
    width: 100%;
    display: block;
}

.jd_banner ul:last-child {
    width: 118px;
    position: absolute;
    bottom: 6px;
    left: 50%;
    margin-left: -59px;
}

.jd_banner ul:last-child li {
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
    border-radius: 3px;
    float: left;
    margin-left: 10px;
}

.jd_banner ul:last-child li:first-child {
    margin-left: 0px;
}

.jd_banner ul:last-child li.now {
    background: #fff;
}


/* 导航栏 */

.jd_nav {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ccc;
}

.jd_nav ul {
    width: 100%;
    padding-top: 10px;
}

.jd_nav ul li {
    width: 25%;
    float: left;
    padding-bottom: 10px;
}

.jd_nav ul li a {
    display: block;
    width: 100%;
}

.jd_nav ul li a img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto;
}

.jd_nav ul li a p {
    text-align: center;
    font-size: 12px;
    color: #666;
    padding: 5px 0;
}


/* 产品容器 */

.jd_product {
    width: 100%;
    padding: 0 5px;
}

.jd_product .jd_product_box {
    margin-top: 10px;
    box-shadow: 0 0 3px #d8d8d8;
    min-height: 200px;
    background: #fff;
}

.jd_product .jd_product_box .tit {
    height: 34px;
    line-height: 34px;
    border-bottom: 1px solid #ddd;
}

.jd_product .jd_product_box .tit h3 {
    font-weight: normal;
    position: relative;
    padding-left: 23px;
}

.jd_product .jd_product_box .tit h3::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 12px;
    top: 11px;
    left: 10px;
    background: #d8505c;
}


/* no_border */

.jd_product .jd_product_box .tit.nb {
    border-bottom: none;
}


/* 组合样式 */

.w_50 {
    display: block;
    width: 50%;
}

.w_50 img {
    display: block;
    width: 100%;
}

.b_l {
    border-left: 1px solid #ddd;
}

.b_r {
    border-right: 1px solid #ddd;
}

.b_b {
    border-bottom: 1px solid #ddd;
}


/* 秒杀 */

.sk_icon {
    width: 16px;
    height: 20px;
    margin-left: 10px;
    margin-top: 6px;
    float: left;
    background: url("../images/seckill-icon.png") no-repeat 0 0 /16px 20px;
}

.sk_name {
    margin-left: 10px;
    float: left;
    color: #d8505c;
}

.sk_time {
    float: left;
    margin-left: 10px;
}

.sk_time span {
    float: left;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    background-color: #333;
    color: #fff;
    margin-top: 9px;
    margin-left: 3px;
}

.sk_time span:nth-child(3n) {
    background: #fff;
    color: #333;
    width: 3px;
}

.sk_product {
    width: 100%;
    padding: 10px 0;
}

.sk_product li {
    width: 33.33333%;
    float: left;
}

.sk_product li a {
    display: block;
    width: 100%;
    border-right: 1px solid #ccc;
}

.sk_product li:last-child a {
    border-right: none;
}

.sk_product li a img {
    width: 64%;
    display: block;
    margin: 0 auto;
}

.sk_product li p {
    font-size: 12px;
    padding: 5px 0;
    text-align: center;
}

.sk_product li .nowPrice {
    color: #d8505c;
}

.sk_product li .oldPrice {
    color: #666;
    text-decoration: line-through;
}